﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="HR_login" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link rel="stylesheet" href="css/base.css" type="text/css" media="screen" />
  <link rel="stylesheet" href="css/style-webapp.css" type="text/css" media="screen" />
</head>
<body>
    <form id="form1" runat="server">
    <div id="box">
    <div class="block" id="block-login">
        <h2>Login</h2>
        <div class="content login">
          <div class="flash">
          <div class="errorSummary" id="divExErrorMessage" runat="server" visible="false">
            <div class="message error">
              <p>
        
            <asp:Label ID="lblLoginMessage" runat="server"></asp:Label>
            <asp:Label runat="server" ID="lblRED" Visible="false" />
        </p>
            </div>
            </div>
          </div>
          <div class="form login">
            <div class="group wat-cf">
              <div class="left">
                <label class="label right">Email</label>
              </div>
              <div class="right">
                <asp:TextBox ID="txtExEmail" runat="server" MaxLength="80" Width="210px" CssClass="text_field" />
            <asp:RequiredFieldValidator ID="rfvExEmail" CssClass="validationErrorControl" runat="server"
                ValidationGroup="excustomer" ErrorMessage="*" Text="" ControlToValidate="txtExEmail"
                Display="Dynamic"></asp:RequiredFieldValidator>
            <br /><asp:RegularExpressionValidator CssClass="validationErrorControl" ID="rfvExEmailValid"
                runat="server" ValidationGroup="excustomer" ErrorMessage="Wrong email format. Eg. youremail@address.com" Text="" ControlToValidate="txtExEmail"
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator>
              </div>
            </div>
            <div class="group wat-cf">
              <div class="left">
                <label class="label right">Password</label>
              </div>
              <div class="right">
                <asp:TextBox ID="txtExAuthCode" MaxLength="20" runat="server" TextMode="Password" CssClass="text_field"
                Width="210px" />
            <asp:RequiredFieldValidator ID="rfvExAuthCode" CssClass="validationErrorControl"
                runat="server" ValidationGroup="excustomer" ErrorMessage="*" Text="" ControlToValidate="txtExAuthCode"
                Display="Dynamic"></asp:RequiredFieldValidator>
              </div>
            </div>
            <div class="group navform wat-cf">
              <div class="right">
                <asp:Button runat="server" ID="btnLogin" ValidationGroup="excustomer" CssClass="button"
                     OnClick="btnLogin_Click" Text="Login" />
              </div>
            </div>
          </div>
        </div>
      </div>
      </div>
    <%--<div class="message">
    <h1>Login</h1>
        <asp:ValidationSummary ID="vsExCustomer" HeaderText="Oops please complete the form"
            runat="server" ValidationGroup="excustomer" ShowSummary="True" CssClass="err_padding">
        </asp:ValidationSummary>
        <div class="errorSummary" id="divExErrorMessage" runat="server" visible="false">
            <asp:Label ID="lblLoginMessage" runat="server"></asp:Label>
            <asp:Label runat="server" ID="lblRED" Visible="false" />
        </div>
        <label>
            Email Address</label>
        <span>
            <asp:TextBox ID="txtExEmail" runat="server" MaxLength="80" Width="210px" />
            <asp:RequiredFieldValidator ID="rfvExEmail" CssClass="validationErrorControl" runat="server"
                ValidationGroup="excustomer" ErrorMessage="" Text="" ControlToValidate="txtExEmail"
                Display="Dynamic"></asp:RequiredFieldValidator>
            <asp:RegularExpressionValidator CssClass="validationErrorControl" ID="rfvExEmailValid"
                runat="server" ValidationGroup="excustomer" ErrorMessage="" Text="" ControlToValidate="txtExEmail"
                ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" Display="Dynamic"></asp:RegularExpressionValidator>
        </span>
        <div class="clear"></div>
         <label>
        Password</label><span>
            <asp:TextBox ID="txtExAuthCode" MaxLength="20" runat="server" TextMode="Password"
                Width="210px" />
            <asp:RequiredFieldValidator ID="rfvExAuthCode" CssClass="validationErrorControl"
                runat="server" ValidationGroup="excustomer" ErrorMessage="" Text="" ControlToValidate="txtExAuthCode"
                Display="Dynamic"></asp:RequiredFieldValidator>
        </span>
        <br />
        <br />
            <span>
                <asp:Button runat="server" ID="btnLogin" ValidationGroup="excustomer" CssClass="button_login_m"
                    OnClientClick="LoadValidationErrorCss();if (Page_ClientValidate('excustomer')) { this.removeAttribute('onmouseout'); this.removeAttribute('onmouseup'); this.className = 'button_m_processing';}"
                    onmousedown="this.className = 'button_login_m_mousedown';" onmouseup="this.className = 'button_login_m';"
                    onmouseout="this.className = 'button_login_m';" OnClick="btnLogin_Click" Text="Login" />
            </span>
        <br />
        <a href="password-recovery.aspx">Forgotten password?</a>
    </div>--%>
    </form>
</body>
</html>
